//
//  QSOSSUploadHelper.h
//  QSSmarkPark-iOS
//
//  Created by 孙俊 on 2019/3/28.
//  Copyright © 2019 HANGZHOU QISHENG TECHNOLOGY CO.LTD. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "QSBaseModel.h"
NS_ASSUME_NONNULL_BEGIN

@interface QSOSSUploadHelper : NSObject

/**
 * @brief 阿里云多图/视频上传(图片传入UIImage,视频传入NSURL)
 * @param files  需要上传的数组
 */
+ (void)asyncUploadFilesToOSS:(NSArray *)files complete:(void(^)(NSArray<NSString *> * _Nullable  names , NSError * _Nullable error))completeBlock;

@end

@interface QSOSSAuthModel : QSBaseModel

@property (nonatomic, copy) NSString *AccessKeyId;
@property (nonatomic, copy) NSString *AccessKeySecret;
@property (nonatomic, copy) NSString *SecurityToken;
@property (nonatomic, copy) NSString *Expiration;
@property (nonatomic, copy) NSString *SystemOssBucket;
@property (nonatomic, copy) NSString *SystemOssEndpoint;
@property (nonatomic, copy) NSString *SystemOssChannelName;

@end

NS_ASSUME_NONNULL_END
